<template>
  <div class="page-wrapper">
    <div class="success-header">
      <img class="success-img" src="../../assets/cantuan.png" mode="aspecetFit">
      <div class="title default-color">恭喜您，支付成功</div>
    </div>

    <div class="handle-btns style-top">
      <router-link class="btn default-btn" open-type="redirect" :to="'/order/orderDetail?id='+ orderId">查看订单</router-link>
      <router-link class="btn default-btn" open-type="switchTab" :to="'/'">返回首页</router-link>
    </div>
  </div>
</template>

<script>

export default {
  data(){
    return {
      orderId:""
    }
  },
  mounted() {
    let options = this.$route.query
    this.orderId = options.orderId
  }
}
</script>

<style lang='less' scoped>
 @import '../../css/shopping/paySucess.less';
</style>
